<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新增异常信息</title>
		<link rel="stylesheet" type="text/css" href="../../css/style.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/form.css"/>
	</head>
	<body>
		  <!-- 蓝色背景区域 -->
    <div class="wrap">
        <!-- 白色可用区域 -->
        <div class="canuse">
            <!------ 位置 ------>
            <p class="contentText local">
                <span>位置：基础数据管理> 安全操作规程 > 新增安全操作规程</span>
            </p>
            <h4 class="sel_title">
                <img src='../../img/list/brand1.png' /><span>填充信息</span><span class="necessary">（带*号为必填项）</span>
            </h4>
            <div class="write_area">
                <form method='post' id="formArea">
                    <table class="contentText" id="formTable">
                        <tr>
                            <th>安全操作规程编号:</th>
                            <td><input value='' name="planCode" /> <input type='hidden'
                                name="id" value='${productPlan.id}' /> <input type='hidden' name="type" value=1 /><span
                                style='color: red;'>*</span></td>
                            <th>安全操作规程名称:</th>
                           
               				  <td><input name="planNumber" value="" readonly="readonly" /><span
                                style='color: red;'>*</span></td>
                           
                        </tr>
                   
                        <tr>
                        	 <th>规程详情:</th>
                            <td colspan='5'><img onclick='uploadFile(this);' src='../../img/file/uploadFile.png'  /><input style='width:100%; display:none;' id = 'uploadfile1' type='file' class = 'processfile' name = 'processfile' onchange ='fileUpload(this)'  value=''></td>
                        </tr>
                        
                        <tr>
                            <th>备注:</th>
                            <td colspan='5'><textarea style='width: 95%; height: 100px;' name="remark" id="remark"></textarea></td>
                        </tr>
                    

                    </table>
                </form>
                <div class="btn_submit" align="center">
					<a href="safetyOperation.html" class="bgd_blue_two img_hand" id="saveAdd">保存</a>
                    <a href="safetyOperation.html" class="bgd_white_two img_hand" id="goBack">返回</a>
                </div>
            </div>

        </div>
        <!-- 版尾 -->
        <div class="ending">Copyright© 2019-2020  磐基技术有限公司</div>
    </div>
	</body>
	<script src="../../js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/3rd/jquery-ui.js" type="text/javascript"></script>
	<script type="text/javascript">
		var h = document.documentElement.clientHeight;
		$(".wrap").css("height", h);
		
		// 日期控件
		$(function(){
	        $("#dateControl").datepicker({
	        	dateFormat : 'yy-mm-dd',
	            monthNamesShort:["January","February","March","April","May","June", "July","August","September","October","November","December"],
	 		 	changeYear:true,
	 		 	changeMonth:true,
	 		 	showOn:"button",
	 		 	buttonImage:"../../img/button/calendar.png",
	 		 	buttonImageOnly:false
	        });
	     });
	     
	     // 图片点击
	function uploadFile(obj){
		$(obj).next().click();
	}
	</script>
</html>
